(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/components/share-menu/index" ], {
    "4ad7": function(e, t, n) {
        (function(e) {
            var a = n("4ea4");
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var o = a(n("9523")), r = n("26cb");
            function c(e, t) {
                var n = Object.keys(e);
                if (Object.getOwnPropertySymbols) {
                    var a = Object.getOwnPropertySymbols(e);
                    t && (a = a.filter(function(t) {
                        return Object.getOwnPropertyDescriptor(e, t).enumerable;
                    })), n.push.apply(n, a);
                }
                return n;
            }
            function i(e) {
                for (var t = 1; t < arguments.length; t++) {
                    var n = null != arguments[t] ? arguments[t] : {};
                    t % 2 ? c(Object(n), !0).forEach(function(t) {
                        (0, o.default)(e, t, n[t]);
                    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c(Object(n)).forEach(function(t) {
                        Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
                    });
                }
                return e;
            }
            t.default = {
                props: {
                    value: {
                        type: Boolean,
                        default: !1
                    },
                    isCancel: {
                        type: Boolean,
                        default: !0
                    },
                    cancelText: {
                        type: String,
                        default: "取消"
                    },
                    locked: {
                        type: Boolean,
                        default: !1
                    }
                },
                data: function() {
                    return {
                        animationCancel: !1
                    };
                },
                computed: i({}, (0, r.mapState)({
                    user: function(e) {
                        return e.user.info;
                    }
                })),
                methods: i(i(i({}, (0, r.mapMutations)([ "commonUpdate" ])), (0, r.mapActions)([ "updateUserInfo" ])), {}, {
                    shareCard: function() {
                        this.$emit("shareCard");
                    },
                    getUserInfo: function(t) {
                        if (!this.lockStatus) {
                            this.lockStatus = !0;
                            var n = t.detail, a = n.errMsg, o = n.userInfo, r = n.iv, c = n.encryptedData;
                            "getUserInfo:ok" === a ? (getApp(), this.commonUpdate({
                                module: "user",
                                type: "info",
                                value: i(i(i({}, o), this.user), {}, {
                                    nickname: o.nickName,
                                    avatar: o.avatarUrl
                                })
                            }), this.updateUserInfo({
                                open_id: this.user.open_id,
                                nickname: o.nickName,
                                avatar: o.avatarUrl,
                                iv: r,
                                encryptedData: c
                            }), this.$emit("shareCard"), this.lockStatus = !1) : "getUserInfo:fail auth deny" === a ? (e.showModal({
                                title: "用户未授权",
                                content: '如果需要正常使用此小程序功能，请按确定并在授权管理中打开"用户信息"。最后再进入小程序即可正常使用。',
                                showCancel: !1,
                                success: function() {
                                    e.openSetting();
                                }
                            }), this.lockStatus = !1) : this.lockStatus = !1;
                        }
                    },
                    shareFriend: function(e) {
                        this.$emit("shareFriend");
                    },
                    handleClickAction: function(e) {
                        var t = this;
                        "close" === e && this.$emit("cancel", !1), "cancel" === e && (this.animationCancel = !0, 
                        setTimeout(function() {
                            t.animationCancel = !1, t.$emit("cancel", !1);
                        }, 200));
                    }
                })
            };
        }).call(this, n("543d").default);
    },
    c7a1: function(e, t, n) {
        n.r(t);
        var a = n("4ad7"), o = n.n(a);
        for (var r in a) [ "default" ].indexOf(r) < 0 && function(e) {
            n.d(t, e, function() {
                return a[e];
            });
        }(r);
        t.default = o.a;
    },
    f5c5: function(e, t, n) {
        n.d(t, "b", function() {
            return o;
        }), n.d(t, "c", function() {
            return r;
        }), n.d(t, "a", function() {
            return a;
        });
        var a = {
            tmMask: function() {
                return Promise.all([ n.e("common/vendor"), n.e("components/tm-mask/index") ]).then(n.bind(null, "5950"));
            }
        }, o = function() {
            this.$createElement;
            this._self._c;
        }, r = [];
    },
    f9098: function(e, t, n) {
        n.r(t);
        var a = n("f5c5"), o = n("c7a1");
        for (var r in o) [ "default" ].indexOf(r) < 0 && function(e) {
            n.d(t, e, function() {
                return o[e];
            });
        }(r);
        n("bf88");
        var c = n("f0c5"), i = Object(c.a)(o.default, a.b, a.c, !1, null, "3e070b2e", null, !1, a.a, void 0);
        t.default = i.exports;
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/components/share-menu/index-create-component", {
    "pages/components/share-menu/index-create-component": function(e, t, n) {
        n("543d").createComponent(n("f9098"));
    }
}, [ [ "pages/components/share-menu/index-create-component" ] ] ]);